import json

from data.app import base_dir
def data():
    my_list = []
    with open(base_dir+'/test_01.json', encoding='utf-8') as f:
        buf = json.load(f)
        for i in buf:
            username = i.get('username')
            password = i.get('password')
            expect = i.get('expect')
            my_list.append((username, password, expect))
        return my_list


if __name__ == '__main__':
    print(data())
